package com.group525.cloudef.entity.user;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

/**
 * <p>
 * 
 * </p>
 *
 * @author group525
 * @since 2023-05-24
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("u_image")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="影像", description="影像信息")
public class UImage implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty(value = "影像号",hidden = true)
    private Long imageNo;

    @ApiModelProperty(value = "患者id",required = true)
    private Long userId;

    @ApiModelProperty(value = "影像类型",required = true)
    private String imageType;

    @ApiModelProperty(value = "影像",required = true)
    private String image;

    @ApiModelProperty(value = "生成时间",required = true)
    private Date createTime;

    @ApiModelProperty(value = "出片医院",required = true)
    private String fromHospital;

    @ApiModelProperty(value = "报告号",required = true)
    private Integer reportNo;

    @ApiModelProperty(value = "是否经过预处理",required = true)
    private Integer preprocess;

}
